package com.sdy.service;

import com.sdy.po.Order;
import com.sdy.po.OrderItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {

    List<Order> getAll();

    OrderItem getOne();

    Boolean update(Order order);

    Boolean insert(Order order);

    Boolean delete(Integer id);

    List<Order> getListByCompanyId(Integer id);
}
